using Webshop20.Domain.Shared.Products.Core;

namespace Webshop20.Domain.Orders.Core
{
    public class Position
    {
        public Position(int number,
                        Product product,
                        int quantity, 
                        decimal price)
        {
            Number = number;
            Product = product;
            Quantity = quantity;
            Price = price;
        }

        public Position(){}

        public virtual int Id { get; set; }
        public virtual decimal Price { get; set; }
        public virtual int Number { get; set; }
        public virtual int Quantity { get; set; }
        public virtual Product Product { get; set; }
    }
}